﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace M3U8下载神器
{
    public class XList<T>:List<T>
    {
        
        public XList():base() { }
  
        public XList(int capacity) : base(capacity) { }
        public XList(IEnumerable<T> collection) : base(collection) { }
        public void Add(T t,bool flag, ICollection<T> back)
        {
            if (flag)
            {
                Add(t);
            }
            else
            {
                back.Add(t);
            }
        }
    }
}
